export const defaultSchema = [
  {
    attr: 1024,
    canTrigger: true,
    code: 'switch',
    defaultRecommend: false,
    editPermission: true,
    executable: true,
    extContent: '',
    iconname: 'icon-dp_power2',
    id: 1,
    mode: 'rw',
    name: '总开关',
    property: {
      type: 'bool',
    },
    type: 'obj',
  },
  {
    attr: 4096,
    canTrigger: true,
    code: 'battery_percentage',
    defaultRecommend: false,
    editPermission: false,
    executable: true,
    extContent: '',
    iconname: 'icon-dp_battery',
    id: 101,
    mode: 'rw',
    name: '电池电量',
    property: {
      unit: '%',
      min: 0,
      max: 100,
      scale: 0,
      step: 1,
      type: 'value',
    },
    type: 'obj',
  },
  {
    attr: 4096,
    canTrigger: true,
    code: 'timer',
    defaultRecommend: false,
    editPermission: false,
    executable: true,
    extContent: '',
    iconname: 'icon-timer1',
    id: 102,
    mode: 'rw',
    name: '定时',
    property: {
      type: 'raw',
      maxlen: 128,
    },
    type: 'raw',
  },
  {
    attr: 0,
    canTrigger: true,
    code: 'aroma_name',
    defaultRecommend: false,
    editPermission: false,
    executable: true,
    extContent: '',
    id: 105,
    mode: 'rw',
    name: '香氛名称',
    property: {
      type: 'string',
      maxlen: 255,
    },
    type: 'obj',
  },
  {
    attr: 0,
    canTrigger: true,
    code: 'scene',
    defaultRecommend: false,
    editPermission: false,
    executable: true,
    extContent: '',
    id: 106,
    mode: 'rw',
    name: '场景',
    property: {
      type: 'raw',
      maxlen: 128,
    },
    type: 'raw',
  },
  {
    attr: 0,
    canTrigger: true,
    code: 'timer_count_down',
    defaultRecommend: false,
    editPermission: false,
    executable: true,
    extContent: '',
    id: 107,
    mode: 'rw',
    name: '定时剩余时间',
    property: {
      unit: '秒',
      min: 0,
      max: 86400,
      scale: 1,
      step: 1,
      type: 'value',
    },
    type: 'obj',
  },
  {
    attr: 0,
    canTrigger: true,
    code: 'work',
    defaultRecommend: false,
    editPermission: false,
    executable: true,
    extContent: '',
    id: 109,
    mode: 'rw',
    name: '工作参数',
    property: {
      type: 'raw',
      maxlen: 128,
    },
    type: 'raw',
  },
] as const;
